package com.kzx.blog.service.model;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;

/**
 * @author kongz
 * @version 1.0 2021/11/25 16:27
 * @description 用户注册传递的数据
 */
@Data
public class UserRegisterParam {
    @NotEmpty(message = "账户不能为空")
    private String account;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "用户名不能为空")
    private String name;
    @NotEmpty(message = "姓名不能为空")
    private String realName;
}
